package com.javaee6.liimp.dao;

import com.javaee6.liimp.model.Roominfo;
import com.javaee6.liimp.model.RoominfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RoominfoMapper {
    long countByExample(RoominfoExample example);

    int deleteByExample(RoominfoExample example);

    int deleteByPrimaryKey(Integer roomid);

    int insert(Roominfo record);

    int insertSelective(Roominfo record);

    List<Roominfo> selectByExample(RoominfoExample example);

    Roominfo selectByPrimaryKey(Integer roomid);

    int updateByExampleSelective(@Param("record") Roominfo record, @Param("example") RoominfoExample example);

    int updateByExample(@Param("record") Roominfo record, @Param("example") RoominfoExample example);

    int updateByPrimaryKeySelective(Roominfo record);

    int updateByPrimaryKey(Roominfo record);
}